.class Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;
.super Ljava/lang/Object;
.source "PictureCompositionActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iput-object p2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->a:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->u(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)V

    .line 3
    sget v0, Les/z4;->durec_picture_save_fail:I

    invoke-static {v0}, Les/ec;->b(I)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->t(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->q(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V

    goto :goto_0

    .line 6
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->b(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)V

    .line 7
    sget v0, Les/z4;->durec_picture_save_success:I

    invoke-static {v0}, Les/ec;->a(I)V

    .line 8
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 9
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 10
    invoke-static {}, Lcom/esfile/screen/recorder/picture/picker/w;->a()Lcom/esfile/screen/recorder/picture/picker/w$a;

    move-result-object v1

    .line 11
    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/picture/picker/w$a;->a(Ljava/util/ArrayList;)Lcom/esfile/screen/recorder/picture/picker/w$a;

    const/4 v0, 0x0

    .line 12
    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/picture/picker/w$a;->a(I)Lcom/esfile/screen/recorder/picture/picker/w$a;

    const-string v2, "pictureEdit"

    .line 13
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/w$a;->a(Ljava/lang/String;)Lcom/esfile/screen/recorder/picture/picker/w$a;

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v2, v2, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v2, v2, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    .line 14
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/w$a;->a(Landroid/app/Activity;)V

    .line 15
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-virtual {v1}, Landroid/app/Activity;->finish()V

    .line 16
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->c(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "pictureList"

    invoke-static {v1, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 17
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->getInstance(Landroid/content/Context;)Landroidx/localbroadcastmanager/content/LocalBroadcastManager;

    move-result-object v1

    new-instance v2, Landroid/content/Intent;

    const-string v3, "com.esfile.screen.recorder.action.CLEAR_BTN_STATE"

    invoke-direct {v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 18
    invoke-virtual {v1, v2}, Landroidx/localbroadcastmanager/content/LocalBroadcastManager;->sendBroadcast(Landroid/content/Intent;)Z

    .line 19
    :cond_1
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a;->c:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;

    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-virtual {v1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$c$a$b;->a:Ljava/lang/String;

    invoke-static {v1, v2, v0}, Lcom/esfile/screen/recorder/utils/h;->a(Landroid/content/Context;Ljava/lang/String;Z)V

    :goto_0
    return-void
.end method
